<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<%@ include file="/common/taglib.jsp" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<head>
<title>开源论坛 : 撰写短消息</title>
<!--<meta name="Robots" content="all" />
<meta http-equiv="Pragma" content="no-cache" />
<meta name="author" content="ywyvoid@gmail.com" />
<meta name="Copyright" content="www.wyvoid.com" />
<meta http-equiv="Content-Language" content="UTF-8"/>
<meta name="description" content="open source j2ee bbs" />
<meta name="MSSmartTagsPreventParsing" content="true"/>
<meta name="keywords" content="xslt,xml,rss,java,jsp,j2ee,javascript,sax,dom,mysql,oracle,postgres,linux,css2,xhtml" />
<link rev="made" href="mailto:ywyvoid@gmail.com" />
<link rel="Shortcut Icon" type="image/x-icon" href="/favicon.ico" />
<link rel="stylesheet" href="styles/default.css" type="text/css" media="all"/>
<link rel="stylesheet" href="styles/tabs.css" type="text/css" media="all"/>-->
<script type="text/javascript" src="/js/FCKeditor/system.js"></script>
<script type="text/javascript" src="/js/Validator/Validator.js"></script>
<style>
body,td{font:normal 12px Verdana;color:#333333}
input,textarea,select,td{font:normal 12px Verdana;color:#333333;border:1px solid #999999;background:#ffffff}
table{border-collapse:collapse;}
td{padding:3px}
input{height:20;}
textarea{width:80%;height:50px;overflow:auto;}
form{display:inline}
</style>
</head>
<body>
<div id="wrap">
  <!-- tmenu begin -->
  <div id="tmenu">
    <div class="tl"><span style="padding-right:20px">wyvoid opensource BBS</span> >>欢迎您， 请先<a href="login.html" title="用户登录">登录</a> | <a href="register.html" title="用户注册">注册</a> | <a href="lostpassword.html" title="取得密码">忘记密码?</a> | <a href="controlpanel.html" title="用户控制面板">控制面板</a> | <a href="online.html" title="论坛帮助">在线情况</a> | <a href="search.html" title="查找">搜索</a> | <a href="help.html" title="论坛帮助">帮助</a> | <a href="admin/login.html" title="论坛管理" rel="target">论坛管理</a></div>
  </div>
  <!-- end #tmenu -->
  <!-- header begin -->
  <div id="header">
    <!-- logo -->
    <div id="logo"><img src="${ctx}/imgs/forum/logo.gif" alt="网站LOGO"/></div>
    <!-- /logo -->
    <!-- banner -->
    <div id="banner">
      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="430" height="60" title="banner">
        <param name="movie" value="${ctx}/imgs/forum/banner.swf" />
        <param name="quality" value="high" />
        <embed src="${ctx}/imgs/forum/banner.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="430" height="60"></embed>
      </object>
    </div>
    <!-- /banner -->
  </div>
  <!-- end #header -->
  <!-- quick begin -->
  <div id="quick">
    <div> <a href="index.html">wyvoid's opensource bbs</a> &gt; <a href="#"> 用户登陆 </a> </div>
  </div>
  <!-- end #quick -->
  <br />
  <div id="tabs">
    <ul>
      <li><a href="tabs.html">我的控制面板</a></li>
      <li><a href="details.html">资料修改</a></li>
      <li><a href="editPassword">密码修改</a></li>
      <li><a href="contactus.html">我的收藏</a></li>
      <li><span>消息管理</span></li>
    </ul>
  </div>
  <div id="tabmain">
    <div id="subtabs">
      <ul>
        <li><a href="portfolio.html">撰写短消息</a></li>
  <li><a href="${ctx}/message/message.do?draftMessage">草稿箱</a></li>
                <li><a href="${ctx}/message/message.do?myMessage">收件箱</a></li>
                <li><a href="${ctx}/message/message.do?mySendMessage">发件箱</a></li>
                <li><a href="${ctx}/message/message.do?trashMessages">废件箱</a></li>
      </ul>
        </div>
    <div id="tabmainbox">
      <div>
        <h1>撰写短消息</h1>
        <br />
        <div class="box1" style="margin:0px;">
          <div class="title"> <a href="#">添加系统短消息</a></div>
          <s:form action="/message/message.do" id="demo" method="post">
            <div class="content">
              <div class="ibox">
                <div class="it">收件人: *</div>
                <div class="iv">

                  <s:text name="message.receiveNickName" class="reginput" id="receiveNickName" value="${actionBean.message.receiveNickName}" size="50"
                          disabled="true"/>
                  <span class="red">*1</span> </div>
              </div>
              <div class="ibox">
                <div class="it">消息标题: *</div>
                <div class="iv">
                    <s:text name="message.title" class="{dataType:Require;msg:标题不能为空}" id="title" size="50" value="${actionBean.message.title}"/>
                    <s:errors field="message.title"/>
                </div>
              </div>

              <div class="ibox">
                <div class="it">是否先保存为草稿:</div>
                <div class="iv">
                    <s:checkbox name="message.type" value="-1" checked="${actionBean.message.type}"/>
                </div>
              </div>

              <div class="ibox" style="height:208px;">
                <div class="it">消息内容: * </div>
                <div class="iv" style="height:200px; width:68%">
                    <s:textarea name="message.content" cols="50" rows="7" style="height:134px" id="content" value="${actionBean.message.content}" class="{dataType:Require;msg:内容不能为空}"/>
                    <s:errors field="message.content"/>
                </div>
              </div>
            </div>
              <s:hidden name="message.id" value="${actionBean.message.id}"/>
              <s:hidden name="message.id" value="${actionBean.message.id}"/>
              <s:hidden name="message.id" value="${actionBean.message.id}"/>
              <s:hidden name="message.id" value="${actionBean.message.id}"/>
              <s:hidden name="message.id" value="${actionBean.message.id}"/>
            <!-- end #content -->
            <div class="box3" style="text-align:center; clear:both">
              <div>
                  <%--<s:hidden name="message.sendNickName" value="${user.nickname}"/>--%>
                <input name="updateMessage" type="submit" value="确定提交">
                <%--<input type="submit" value="发送短消息" name="agree" class="b"/>--%>
              </div>
            </div>
         </s:form>
        </div>
      </div>
      <!-- explain begin -->
    </div>
  </div>
<script type="text/javascript" src="${ctx}/js/FCKeditor/fckeditor.js"></script>
<script type="text/javascript">
	//<![CDATA[
	window.onload = function(){
		var oFCKeditor = new FCKeditor( 'message.content') ;
        oFCKeditor.BasePath="${ctx}/js/FCKeditor/";
        oFCKeditor.ToolbarSet = "Default";
		oFCKeditor.ReplaceTextarea() ;
	}
	//]]>
</script>
  <!-- footer begin -->
  <div id="footer">
    <div id="copyleft">Copyright &#169; 2001-2005, The wyvoid NetWork Studio.<br/>
      This BBS version 1.0. Connect Author : <a href="mailto:ywyvoid@gmail.com">ywyvoid@gmail.com</a></div>
  </div>
  <!-- end #footer -->
</div>
<!-- end #warp -->
</body>
</html>
